﻿@using JPW.OnlinePaperSubmissionSystem.Project
<form name="sendAnnouncementForm" role="form" novalidate class="form-validation">
    <div class="modal-header">
        <h4 class="modal-title">
            <h4 class="modal-title">
                <span>发送消息</span>
            </h4>
        </h4>
    </div>
    <div class="modal-body">
        <div class="form-group form-md-line-input">
            <input class="form-control" type="text" name="Title" ng-model="vm.title">
            <label>标题</label>
        </div>
        <div class="form-group form-md-line-input">
            <input class="form-control" type="text" name="Content" ng-model="vm.content">
            <label>消息内容</label>
        </div>
        <div class="form-group form-md-line-input">
            <input class="form-control" ng-readonly="true" type="text" name="Content" ng-model="vm.users">
            <button type="button" class="btn btn-primary blue" ng-click="vm.getUsers()">选择人员</button>
            <label>发送人</label>
           
        </div>
    </div>
    <div class="modal-footer">
        <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button>
        <button type="submit" button-busy="vm.saving" busy-text="@L("SavingWithThreeDot")" class="btn btn-primary blue" ng-click="vm.save()" ng-disabled="createAnnouncementForm.$invalid"><i class="fa fa-save"></i> <span>@L("Save")</span></button>
    </div>
</form>

